package com.naiterui.ehp.bs.emr.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;

/**
 * @Description 签名信息
 * @Author gongbaoqiang
 * @Date 2019/11/27 3:20 PM
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SignInfoDTO implements Serializable {

    public static final int HANDWRITING_NO = 0;
    public static final int HANDWRITING_YES = 1;

    private static final long serialVersionUID = 5627515780086910428L;

    /**
     * 签名标识：1/未签名， 2/签名成功， 3/签名失败
     */
    private Integer signFlag;

    /**
     * 签名医生
     */
    private String doctorName;

    /**
     * 签名医院
     */
    private String hospitalName;

    /**
     * 签名时间
     */
    private Date signTime;

    /**
     * 签章图片
     */
    private String sealImage;

    @ApiModelProperty(value = "是否手写签章(0，否；1，是)")
    private Integer handWriting;
}
